package com.example.homework.bean;

// MusicItem.java
public class MusicItem {
    private String id;
    private String name;
    private String artist;
    private String picUrl;
    private String url;

    // 构造函数
    public MusicItem(String id, String name, String artist, String picUrl, String url) {
        this.id = id;
        this.name = name;
        this.artist = artist;
        this.picUrl = picUrl;
        this.url = url;
    }

    // Getter方法
    public String getName() {
        return name;
    }

    public String getArtist() {
        return artist;
    }

    public String getPicUrl() {
        return picUrl;
    }

    public String getUrl() {
        return url;
    }
}